﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<script>
	//全登陆不允许iframe嵌入 
	if (window.top !== window.self) {
		window.top.location = window.location;
	}
</script>

<link rel="shortcut icon" href="${path }/resource/images/favicon.ico">
<!--[if lt IE 9]>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/html5.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/respond.min.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/PIE_IE678.js"></script>
<![endif]-->
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript" src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="${path }/resource/js/systools/EXBase.js"></script>


<!-- 界面单独引入的其他样式和脚本 -->
<link rel="stylesheet" href="${path }/resource/plugin/hui/css/H-ui.login.css"
	type="text/css">


<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>Matrix</title>
</head>
<body onkeypress="dologin(event)">

	<div class="header">世界杯赛事管理系统</div>
	<div class="loginWraper">
		<div id="loginform" class="loginBox">
			<form class="form form-horizontal dataForm" method="post">
				<input type="submit" style="display: none">
				<div class="row cl">
					<label class="form-label col-2"><i class="Hui-iconfont">&#xe60d;</i></label>
					<div class="formControls col-7">
						<input id="account" name="account" type="text" dataType="*1-50"
							nullmsg="账户不能为空" placeholder="账户" class="input-text size-L">
					</div>
					<div class="col-3">
						<span class="Validform_checktip"></span>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-2"><i class="Hui-iconfont">&#xe60e;</i></label>
					<div class="formControls col-7">
						<input name="password" type="password" id="" dataType="*1-50"
							nullmsg="密码不能为空" placeholder="密码" class="input-text size-L">
					</div>
					<div class="col-3">
						<span class="Validform_checktip"></span>
					</div>
				</div>
				<div class="row cl">
					<div class="formControls col-10 col-offset-2">
						<input class="input-text size-L" type="text" placeholder="验证码"
							dataType="*4-4" name="code" style="width: 150px;"> <img
							id="code" > <a
							onclick="EXCommon.changeValidateCode('code')" href="javascript:;">看不清，换一张</a>
					</div>
				</div>

				<div class="row">
					<div class="formControls col-8 col-offset-3">
						<label for="online"></label>
					</div>
				</div>
				<div class="row">
					<div class="formControls col-8 col-offset-3">
						<input name="" type="button" onclick="login()"
							class="btn btn-success radius size-L"
							value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;"> <input
							name="" type="reset" class="btn btn-default radius size-L"
							value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="footer">Copyright Matrix</div>
</body>
<script type="text/javascript">
EXCommon.changeValidateCode('code');
	var dataform = EXForm.validform(".dataForm");
	
	function login() {
		EXCommon.login(dataform);
	}
	function dologin(e) {
		if (e.keyCode == 13) {
			e.preventDefault();
			window.event.returnValue = false;
			login();
			return false;
		}
	}
</script>
</html>